package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * <p>Description:  </p>
 * <p>CreateTime:   2020/7/4 </p>
 *
 * @author fujian
 */
@RestController
@RequestMapping("hello/")
public class Hello {

    @RequestMapping("hi")
    @ResponseBody
    public String hi(){
        return "hello";
    }

}
